
#search_mini_form {
    float:right;
    position:relative;
    moz-box-sizing:border-box;
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box; 
    box-sizing: border-box;
    margin: 3px 0 0;
    border: solid 1px #e5e0d4;
    background: #fff;
}
.header .form-search {  position: relative;  }
.header .form-search:after {display: table; clear: both; content: "";}
/* .header .form-search:before {
    content: "\f002";
    font-size: 17px;
    position: absolute;
    left: 12px;
    top: 6px;
    color: #d6d6d6;
} */
.header .form-search .input-text {
    float:left;
    padding:3px 10px;
    width:173px;
    height: 30px;
    line-height: normal;
    font-size: 13px;
    color: #777777;
    background: #fff;
    border: none;
}
.header .form-search .p-reletive {float: left;}
.header .form-search .input-text:focus::-webkit-input-placeholder{ color: #ccc;}
.header .form-search .input-text:focus::-moz-placeholder { color: #ccc;}
.header .form-search button.button { float: right; margin-left: 10px; } 
.header .form-search button.button > span { width: 30px; height: 30px; padding: 0;  background: none;}
.header .form-search button.button > span:before{ display: none;}
.header .form-search button.button:hover > span { }
.header .form-search button.button > span span {padding: 11px 19px 10px; font-size: 13px; text-transform: capitalize;  display: none;}
.header .form-search button.button span:after {content: "\f002"; font-size: 12px; display: block; line-height: 32px; color: #beb1a8;}
.header .form-search button.button:hover span:after{ color: #000;}
.header .form-search label {float:left; margin-left:17px; display:none;}
#select-form { margin-left:1px;}
.search-autocomplete {
    z-index: 999999;
}

.search-autocomplete a {
    text-decoration: none;
}

.form-search .loading {
    background: url("../images/cmsmart/ajaxsearch/loading.gif") no-repeat;
    display: block;
    width: 16px;
    height: 16px;
    position: absolute;
    top:8px;
    right: 30px;
    display: none;
}

.form-search .clear-bt {
    background: url("../images/cmsmart/ajaxsearch/clear.png") no-repeat;
    display: block;
    width: 16px;
    height: 16px;
    position: absolute;
    top:8px;
    right: 30px;
    cursor: pointer;
    display: none;
}
:root .form-search .clear-bt {background: none\0;}

.form-search {
    position: relative;
    
}
.search-autocomplete li.title, 
.search-autocomplete .no-results, 
.search-autocomplete li.preview {
    cursor: default !important;
}
.search-autocomplete .no-results {background: #fff; text-align: left;}

.search-autocomplete .category a {
    text-decoration: none;
    font-weight: bold;
}

.search-autocomplete .page_rs a {
    text-decoration: none;    
}

.search-autocomplete .category .description, .page_rs .description {
    color: #000;
    font-weight: normal !important;
}

.search-autocomplete span.title {
    cursor: pointer;    
}

.search-autocomplete .preview .preview-img {
    float: left;
    margin-right: 10px;
    
}

.search-autocomplete .preview .description {
    clear: both;
}

.search-autocomplete .suggested a {
    float: left;
}

.search-autocomplete .category a, .search-autocomplete .page_rs a {
    display: block;
}

.search-autocomplete .title {
    text-transform: capitalize;
    font-weight: bold;
}
.search-autocomplete .ajaxsearch > .title { 
    padding: 3px 8px;
}

.search-autocomplete ul.suggested, .search-autocomplete ul.ajaxsearch, .search-autocomplete ul.page_rs, .search-autocomplete ul.category {
    border: none !important;    
    
}

.search-autocomplete .regular-price {
    text-decoration: line-through;
}

.search-autocomplete .pice, .search-autocomplete .special-pice {
    font-weight: bold;
}

.search-autocomplete .view_all {
    text-align: right !important;       
}

.search-autocomplete {
    position: absolute; 
    left: 0px; 
    top: 35px; 
    width: 100% !important;
}

.search-autocomplete .meta_data {
    text-align: left;
    width: auto !important;
    overflow: hidden;
}

.search-autocomplete .product_att {
    clear: both;
}

.search-autocomplete .product_att .att_label {
    font-weight: bold;   
}

.search-autocomplete .product_att p {
    margin: 0;
}
.search-autocomplete ul .preview {
   border:1px solid #ddd;
   border-top: 0;
   background-color:#fff;
   padding: 8px;
}

.search-autocomplete .ajaxsearch .rating-box {
    float: left;
    margin-bottom: 5px;
}

.search-autocomplete .ajaxsearch .reviews_count {
    height: 12px;
    line-height: 12px;
    overflow: hidden;
    margin-bottom: 7px;
    clear: left;
}

.search-autocomplete .ajaxsearch .product-price
{
    clear:both;
}
.form-search button.button {
    float: none;
}
.product_cat a {
    display: inline-block;
    margin: 5px 0;
}
@media only screen and (max-width: 767px) {  
    .search-autocomplete {
        height: 300px; 
        overflow-y: auto;
    }
    .form-search .clear-bt,
    .form-search .loading {right: 55px;}


    #search_mini_form {width:100%; position: fixed; left: 0; top: 47px; display: none; padding: 0 20px; z-index: 9; background: none; border: none;}
    .header .form-search {background: #FBFBFB; padding: 6px 60px 6px 6px; border: 1px solid #ddd; position: relative;}
    .header .form-search .p-reletive {float: none;}
    .header .form-search button.button {width:50px;  position: absolute; right: 6px; top: 6px;} 
    .header .form-search button.button  span { padding:0; height: 30px; line-height: 30px; float:none;  display:block; text-align:center;}
    .header .form-search .input-text { 
        width:100%; 
        margin:0; 
        moz-box-sizing:border-box;
        -moz-box-sizing: border-box; 
        -webkit-box-sizing: border-box; 
         box-sizing: border-box;
         float: none;
    }
    .form-search .search-autocomplete {display: none !important;}
}
